The Financial Portfolio sample demonstrates how to visualize stock data with a Candlestick Chart.
Sample Location
Visual Basic.NET
<User Folder>\GrapeCity Samples\ActiveReports 13\Web\FinancialPortfolio\VB.NET
C#
<User Folder>\GrapeCity Samples\ActiveReports 13\Web\FinancialPortfolio\C#
Details
When you run the sample, the start page with the Candlestick Chart appears. In the left panel, you can click a company from the list to see its stock data.
The project consists of the following elements.
- Css folder: The css folder contains css files that store styles for the viewer application.
- Data folder: This folder contains the Stocks.xml file with the data the Candlestick Chart uses.
- fonts folder: The fonts folder contains font files to provide styles to the text that gets displayed in the viewer at run time.
- images folder: The images folder contain images for the buttons used in the sample.
- Reports folder: The Reports folder contains the following reports - AnnualStockTicker.rdlx and MonthlyStockTradingData.rdlx.
- Scripts folder: The Scripts folder contains javascript files and its dependencies required to build this application.
- ActiveReports.ReportService.asmx is an ASP.NET Webservices Source file that is required for creating and proper functioning of the Viewer. You can add this service using the Add New Item in the Visual Studio Project menu and then selecting ActiveReports 13 Web Service.
- index.html hosts the UI page on the browser. It contains html code for the appearance and functioning of this page.
- Web.config: This configuration file contains the httpHandlers that allow ActiveReports to process reports on the Web. Note that you need to manually update version information here when you update your version of ActiveReports.